package com.mydemo.springlearning.functions.reflection.api;

public class SonClass extends FatherClass {

    private String mSonName;

    protected int mSonAge;

    public String mSonBirthday;

    public void printSonMsg() {
        System.out.println("Son Msg - name : " + mSonName + "; age : " + mSonAge);
    }

    private void setSonName(String name) {
        mSonName = name;
    }

    private void setSonAge(int age) {
        mSonAge = age;
    }

    public int getSonAge() {
        return mSonAge;
    }

    private String getSonName() {
        return mSonName;
    }
}